]> dgit.raspbian.org Git - gnome-shell.git/commit
ibusManager: Disable IBus input sources on password entries
authorTakao Fujiwara <tfujiwar@redhat.com>
Thu, 27 Nov 2014 08:23:01 +0000 (17:23 +0900)
committerRui Matos <tiagomatos@gmail.com>
Mon, 12 Jan 2015 15:13:45 +0000 (16:13 +0100)
commitd8ca374a06fd1725b9906be4aa956872ccba4c29
tree78de99f53ee8d1cb554b358a5ba6252c03ca01e0
parent19c7da7b08e11412bff2fd556661da52328c151e
ibusManager: Disable IBus input sources on password entries

Input method preedit text needs to be disabled on password entries
for security and usability reasons.
IBus 1.5.7 provides the signal set-content-type so that panel UIs can
handle these special purpose input entries:
https://github.com/ibus/ibus/commit/6ca5ddb302c9

Unfortunately IBus versions older than 1.5.10 have a bug which causes
spurious set-content-type emissions when switching input focus that
temporarily lose purpose and hints defeating its intended semantics
and confusing users. We thus don't use it in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=730628
js/misc/ibusManager.js
js/ui/status/keyboard.js